package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.dao.Like;

import java.util.List;

@Mapper
public interface LikeMapper {
    @Select("select * from `like`")
    List<Like> getLikeList();

    Integer addLike(Like like);

    Like getLike(Like like);

    Integer deleteLike(Like like);
}
